//
//  JQNetworkManager.h
//  JQNetworking
//
//  Created by zhujiaquan on 2018/1/10.
//  Copyright © 2018年 JQ. All rights reserved.
//

#import <AFNetworking/AFNetworking.h>

@class JQNetworkConfig;

typedef void (^JQNetworkConfigBlock)(JQNetworkConfig *config);

@interface JQNetworkManager : NSObject

+ (NSURLSessionDataTask *)POST:(NSString *)URLString
                    parameters:(id)parameters
                 configuration:(JQNetworkConfigBlock)configurationBlock
                       success:(void (^)(NSURLSessionDataTask *task, id responseObject))success
                       failure:(void (^)(NSURLSessionDataTask *task, NSError *error))failure;

@end
